﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Automobile.service.BLL;
namespace Automobile.service.UI.Hander
{
    /// <summary>
    /// CaigouBymonth 的摘要说明
    /// </summary>
    public class CaigouBymonth : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            CaigouBLL bll = new CaigouBLL();
            string firstyear = context.Request["firstyear"];
            string firstmonth = context.Request["firstmonth"];
            string lastmonth = context.Request["lastmonth"];
            string str = bll.CaigouByMonth(firstyear, firstmonth, lastmonth);
            context.Response.Write(str);
        }
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}